package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@Data
@TableName("tg_lottery_record")
@ApiModel("中奖记录表")
public class TgLotteryRecord {
    @ApiModelProperty(value = "中奖记录ID，主键")
    @TableId(type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty(value = "奖品ID")
    private Long prizeId;

    @ApiModelProperty(value = "中奖数量")
    private Integer quantity;

    @ApiModelProperty(value = "用户编号")
    private Long userId;

    @ApiModelProperty(value = "消耗的积分")
    private java.math.BigDecimal consumeXcoin;

    @ApiModelProperty(value = "抽奖时间")
    private Date createTime;
} 